import { Base } from '../../../utils/base.js';
class HomeIndex extends Base {
  constructor() {
    super();
  }

  getrcoe(data, callback) {  
    var param = {
      url: 'user/archives_success',
      type: "post",
      data: data,
      loading: 'hide',
      sCallback: function (data) {
        callback && callback(data);
      }
    };
    this.request(param);
  }
 
  jian(data,callback){
  var param = {
    url: 'user/red',
    type: "post",
    data: data,
    loading: 'hide',
    sCallback: function (data) {
      callback && callback(data);
    }
  };
  this.request(param);
  }


};
export { HomeIndex };